<template>
  <div id="app">
    <div class="header Da">
      <div class="header-img">
        <img src="./assets/logo.jpg" alt=""  style="width: 70px;"/>
      </div>
      <div class="header-nav">
        <div>
          <router-link
            to="/Home"
            class="header-nav-item"
            active-class="header-nav-item-active"
            >Home</router-link
          >
        </div>
        <div>
          <router-link
            to="/KeyFeatures"
            class="header-nav-item"
            active-class="header-nav-item-active"
            >Key Features</router-link
          >
        </div>
        <div>
          <router-link
            to="/TechnicalArchitecture"
            class="header-nav-item"
            active-class="header-nav-item-active"
            >Technical Architecture</router-link
          >
        </div>
        <div>
          <router-link
            to="/ContactUs"
            class="header-nav-item"
            active-class="header-nav-item-active"
            >Contact Us</router-link
          >
        </div>
      </div>
    </div>
    <div
      class="header xiao"
      style="border-bottom: 1px solid rgba(255, 255, 255, 0.2)"
    >
      <div class="">
        <div
          style="
            display: flex;
            justify-content: space-between;
            width: 100%;
            align-items: center;
          "
        >
          <div class="header-img">
            <img src="./assets/image3.png" alt="" style="width: 70%" />
          </div>
          <div style="display: flex; align-items: center">
            <img
              src="./assets/Group 18.png"
              alt=""
                   @click="ce = false"
              style="width: 40px; position: relative; top: 5px"
            />
            <img
              src="./assets/Icon1.png"
              alt=""
              @click="ce = true"
              style="width: 35px; margin-left: 10px"
            />
          </div>
        </div>
      </div>
    </div>
    <div class="xiao ce" style="width: 280px;text-align: center;" v-if="ce">
      <div style="padding-left: 2vh">
        <div  @click = 'ce = false' style="margin: 1vh;">
          <router-link
         
            to="/Home"
            class="header-nav-item"
            active-class="header-nav-item-active"
            >    <div  >
              Home
            </div></router-link
          >
        </div>
        <div   @click = 'ce = false' style="margin: 1vh;">
          <router-link
          
            to="/KeyFeatures"
            class="header-nav-item"
            active-class="header-nav-item-active"
            >Key Features</router-link
          >
        </div>
        <div   @click = 'ce = false' style="margin: 1vh;">
          <router-link
          
            to="/TechnicalArchitecture"
            class="header-nav-item"
            active-class="header-nav-item-active"
            >Technical Architecture</router-link
          >
        </div>
        <div    @click = 'ce = false' style="margin: 1vh;">
          <router-link 
            to="/ContactUs"
           
            class="header-nav-item"
            active-class="header-nav-item-active"
            >Contact Us</router-link
          >
        </div>
      </div>
    </div>
    <!-- <div class="xiao">
      <Home></Home>
      <ContactUs></ContactUs>
      <KeyFeatures></KeyFeatures>
      <TechnicalArchitecture></TechnicalArchitecture>
    </div> -->
    <router-view  class="Da1" style="position: relative;"/>
     <div class="xiao1">
      <!-- <img src="./assets/Frame 1116606606.png" alt="" style="position: absolute;top: -40px;width: 100% !important;opacity: 0.3;z-index: 999;"> -->
    
       <newIndex></newIndex>
     </div>
  </div>
</template>

<script>
import newIndex from './views/newIndex.vue'
// @ is an alias to /src
import ContactUs from "./ContactUs.vue";
import Home from "./Home.vue";
import KeyFeatures from "./KeyFeatures.vue";
import TechnicalArchitecture from "./TechnicalArchitecture.vue";
export default {
  name: "HomeView",
  components: {
    ContactUs,
    Home,
    newIndex,
    KeyFeatures,
    TechnicalArchitecture,
  },
  data() {
    return {
      ce: false,
    };
  },
};
</script>
<style>
.Da1{
  height: 90vh;
}
.ce {
  z-index: 10;
  position: absolute;
  width: 100px;
  overflow: hidden;
  height: 100%;
  top: 10vh;
  border: 1px solid rgba(255, 255, 255, 0.2);
  right: 0;
  font-size: 10px !important;
  background: rgba(0, 0, 0, 1);
}
a {
  text-decoration: none;
  color: #ffffff;
}

a:hover {
  text-decoration: none;
}

#app {
  font-family: "Avenir", Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  /* text-align: center; */
  color: #2c3e50;
  /* margin-top: 60px; */
}

html {
  height: 100vh;
}

body {
  padding: 0;
  margin: 0;
  background: #000000;
  height: 100vh;
}

body::-webkit-scrollbar {
  display: none;
}

#app {
  height: 100vh;
}

.header {
  z-index: 30 !important;
  width: 70%;
  height: 73px;
  margin: 0px auto;
  display: flex;
  padding-top: 2vh;
  background: #000;
}

.header-img {
}

.header-nav {
  flex: 1;
  display: flex;
  height: 73px;
  line-height: 73px;
  text-align: center;
  background: #000000;
  justify-content: space-around;
  align-items: center;
}

.header-nav-item {
  display: inline-block;
  font-weight: normal;
  font-size: 15px;
  color: #ffffff;
  font-style: normal;
  box-sizing: border-box;
  text-transform: none;
  padding: 2px 24px;
  text-align: center;
  line-height: 35px;
}
.header-nav-item-active {
  font-weight: normal;
  /* font-size: 13px; */
  color: #000;
  font-style: normal;
  text-transform: none;
  padding: 2px 24px;
  box-sizing: border-box;
  text-align: center;
  margin: 1vh 0;
  line-height: 35px;
  background: linear-gradient(180deg, #a1a1aa 0%, #f4f4f5 100%);
  border-radius: 6px 6px 6px 6px;
  border: 1px solid rgba(255, 255, 255, 0.75);
}
.xiao {
  display: none;
}
.xiao1 .foot-wz{
    display: none;
  }
  .xiao1 {
    display: none;
  }
</style>
<style>
@media (max-width: 575.98px) {
  body {
    color: black;
  }
  .header {
    width: 93%;
  }
  .xiao {
    width: 90%;
    display: block;
  }
  .xiao1{
    display: block;
  }
  .Da1{
    display: none;
}
  .Da {
    display: none;
  }
  .header-nav-item {
    font-size: 15px;
  }
}
@media (min-width: 576px) and (max-width: 767.98px) {
  body {
    color: black;
  }
  .xiao1{
    display: none;
  }
  .header {
    width: 93%;
  }
  .xiao {
    width: 90%;
    display: block;
  }
  .Da {
    display: none;
  }

}

@media (min-width: 767px) {
  body {
    color: black;
  }
  .Da {
    display: flex;
  }

  .xiao {
    display: none;
  }
}
</style>
<style>
.slide-up {
  animation: slide-up 1s forwards;
  opacity: 0;
  /* transform: translateY(10%); */
}

@keyframes slide-up {
  to {
    opacity: 1;
    /* transform: translateY(0); */
  }
}
.slide-upout {
  animation: slide-upout 1s forwards;
  opacity: 1;
  /* transform: translateY(10%); */
}

@keyframes slide-upout {
  to {
    opacity: 0;
    /* transform: translateY(0); */
  }
}
.slide-up0 {
  animation: slide-down 1s ease forwards;
  opacity: 0;
}

@keyframes slide-down {
  from {
    transform: translateY(100%) translateX(-100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}
.slide-up0out {
  animation: slide-down0out  1s ease forwards;
  opacity: 1;
}

@keyframes slide-down0out {
  from {
    transform: translateY(0);
    opacity: 1;
  }
  to {
    transform: translateY(100%) translateX(-100%);
    opacity: 0;
  }
}

.KeyFeaturesIn {
  animation: Indow 1s ease forwards;
  opacity: 0;
}

@keyframes Indow {
  from {
    transform: translateY(50%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.KeyFeaturesOut {
  animation: outdow 1s ease forwards;
  opacity: 1;
}

@keyframes outdow {
  from {
    transform: translateY(0%);
    opacity: 1;
  }
  to {
    transform: translateY(100%);
    opacity: 0;
  }
}

.usout {
  animation: usouts 1s ease forwards;
  opacity: 1;
}

@keyframes usouts {
  from {
    transform: translateY(0%);
    opacity: 1;
  }
  to {
    transform: translateY(100%);
    opacity: 0;
  }
}



.usin {
  animation: usins 1s ease forwards;
  opacity: 0;
}

@keyframes usins {
  from {
    transform: translateY(40%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}
</style>

<!-- 测试能不能提交代码 -->